package org.particlethink.dto;

import org.particlethink.entry.OrderStatus;
import org.particlethink.handler.OrderStatusHandler;
import tk.mybatis.mapper.annotation.ColumnType;

public class OrderStatusAndCount {
    @ColumnType(typeHandler = OrderStatusHandler.class)
    private OrderStatus status;
    private Integer count;

    public OrderStatusAndCount(OrderStatus status, Integer count) {
        this.status = status;
        this.count = count;
    }

    public OrderStatusAndCount() {
    }

    public OrderStatus getStatus() {
        return status;
    }

    public void setStatus(OrderStatus status) {
        this.status = status;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
}
